package com.jingjiu.homeservicesapi.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 家政订单：记录家政服务的订单详情对象 house_service_order
 * 
 * @author ruoyi
 * @date 2025-04-16
 */
public class HouseServiceOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单ID */
    private Long id;

    /** 服务时间（日期+时间） */
    @Excel(name = "服务时间", readConverterExp = "日=期+时间")
    private Date serviceTime;

    /** 服务人员姓名 */
    @Excel(name = "服务人员姓名")
    private String servicePersonName;

    /** 服务时长（单位：分钟） */
    @Excel(name = "服务时长", readConverterExp = "单=位：分钟")
    private Long serviceDuration;

    /** 服务人员电话 */
    @Excel(name = "服务人员电话")
    private String phone;

    /** 服务地址 */
    @Excel(name = "服务地址")
    private String address;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setServiceTime(Date serviceTime) 
    {
        this.serviceTime = serviceTime;
    }

    public Date getServiceTime() 
    {
        return serviceTime;
    }

    public void setServicePersonName(String servicePersonName) 
    {
        this.servicePersonName = servicePersonName;
    }

    public String getServicePersonName() 
    {
        return servicePersonName;
    }

    public void setServiceDuration(Long serviceDuration) 
    {
        this.serviceDuration = serviceDuration;
    }

    public Long getServiceDuration() 
    {
        return serviceDuration;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("serviceTime", getServiceTime())
            .append("servicePersonName", getServicePersonName())
            .append("serviceDuration", getServiceDuration())
            .append("phone", getPhone())
            .append("address", getAddress())
            .append("remark", getRemark())
            .append("status", getStatus())
            .toString();
    }
}
